<%--
  Created by IntelliJ IDEA.
  User: 任意的爹
  Date: 2021/5/23
  Time: 20:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
  <title>首页</title>
</head>
<body>
<c:if test="${empty username}">
<a href="login.jsp">请登录<a/>
  </c:if>
  <c:if test="${!empty username}">
  <a href="addStudent.jsp">添加学生<a/>
    <a href="${pageContext.request.contextPath}/listStudentServlet">查看学生<a/>
      </c:if>
</body>
</html>
